s = [x for x in range(0,20) if x % 2 == 0 if x % 3 == 0]
print(s) # [0, 6, 12, 18]